home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / floor.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  5.0 KB  |  273 lines

  1. textures/floor/trans_diagreen3
  2. {
  3.     surfaceparm alphashadow
  4.     surfaceparm trans
  5.     qer_editorimage textures/floor/dia_grnbrn01_4.tga
  6.     cull none
  7.         
  8.     {
  9.         map textures/floor/dia_grnbrn01_4.tga
  10.         blendFunc GL_ONE GL_ZERO
  11.         alphaFunc GE128
  12.         depthWrite
  13.         rgbGen identity
  14.         
  15.     }
  16.     {
  17.         map $lightmap
  18.         rgbGen identity
  19.         blendFunc GL_DST_COLOR GL_ZERO
  20.         depthFunc equal
  21.     }
  22.  
  23. }
  24.  
  25.  
  26. textures/floor/trans_diagreen2
  27. {
  28.     surfaceparm alphashadow
  29.     surfaceparm trans
  30.     qer_editorimage textures/floor/dia_grnbrn01_3.tga
  31.     cull none
  32.         
  33.     {
  34.         map textures/floor/dia_grnbrn01_3.tga
  35.         blendFunc GL_ONE GL_ZERO
  36.         alphaFunc GE128
  37.         depthWrite
  38.         rgbGen identity
  39.         
  40.     }
  41.     {
  42.         map $lightmap
  43.         rgbGen identity
  44.         blendFunc GL_DST_COLOR GL_ZERO
  45.         depthFunc equal
  46.     }
  47.  
  48. }
  49.  
  50. textures/floor/trans_diagreen
  51. {
  52.     surfaceparm alphashadow
  53.     surfaceparm trans
  54.     qer_editorimage textures/floor/dia_grnyel01_2.tga
  55.     cull none
  56.         
  57.     {
  58.         map textures/floor/dia_grnyel01_2.tga
  59.         blendFunc GL_ONE GL_ZERO
  60.         alphaFunc GE128
  61.         depthWrite
  62.         rgbGen identity
  63.         
  64.     }
  65.     {
  66.         map $lightmap
  67.         rgbGen identity
  68.         blendFunc GL_DST_COLOR GL_ZERO
  69.         depthFunc equal
  70.     }
  71.  
  72. }
  73.  
  74.  
  75. textures/floor/trans_diayellow
  76. {
  77.     surfaceparm alphashadow
  78.     surfaceparm trans
  79.     qer_editorimage textures/floor/dia_grnyel01_1.tga
  80.     cull none
  81.         
  82.     {
  83.         map textures/floor/dia_grnyel01_1.tga
  84.         blendFunc GL_ONE GL_ZERO
  85.         alphaFunc GE128
  86.         depthWrite
  87.         rgbGen identity
  88.         
  89.     }
  90.     {
  91.         map $lightmap
  92.         rgbGen identity
  93.         blendFunc GL_DST_COLOR GL_ZERO
  94.         depthFunc equal
  95.     }
  96.  
  97. }
  98.  
  99. textures/floor/dia_blugrn_spec
  100. {
  101.     qer_editorimage textures/floor/dia_blugrn.tga
  102.     portal
  103.     {
  104.         map textures/floor/dia_blugrn.tga
  105. //        blendFunc GL_ZERO GL_SRC_COLOR
  106.         rgbGen identity
  107.     }
  108.     {
  109.         map $lightmap
  110.         rgbGen identity
  111.         blendFunc GL_DST_COLOR GL_ZERO
  112.         depthFunc equal
  113.     }
  114. }
  115.  
  116. textures/floor/dia_blugrn01_spec
  117. {
  118.     qer_editorimage textures/floor/dia_blugrn01.tga
  119.     portal
  120.     {
  121.         map textures/floor/dia_blugrn01.tga
  122. //        blendFunc GL_ZERO GL_SRC_COLOR
  123.         blendFunc GL_ONE GL_ONE
  124.         depthMask
  125.         rgbGen identity
  126.     }
  127.     {
  128.         map $lightmap
  129.         blendFunc GL_ZERO GL_SRC_COLOR
  130.         rgbGen identity
  131. //        depthFunc equal
  132.     }
  133. }
  134.  
  135. textures/floor/dia_brnred_spec
  136. {
  137.     qer_editorimage textures/floor/dia_brnred.tga
  138.     {
  139.         map textures/floor/dia_brnred.tga
  140.         rgbGen identity
  141.     }
  142.     {
  143.         map $lightmap
  144.         rgbGen identity
  145.         blendFunc GL_DST_COLOR GL_ZERO
  146.     }
  147. }
  148.  
  149. textures/floor/dia_brnred01_spec
  150. {
  151.     qer_editorimage textures/floor/dia_brnred01_lt.tga
  152.     portal
  153.     {
  154. //        map textures/floor/dia_brnred01_lt.tga
  155.         map textures/floor/dia_brnred01.tga
  156. //        blendFunc GL_ZERO GL_SRC_COLOR        // this one is cool
  157. //        blendFunc GL_ONE GL_ONE
  158.         alphaGen oneminusdot 0.3 1.0
  159.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  160.         depthMask
  161.         rgbGen identity
  162.     }
  163.     {
  164.         map $lightmap
  165.         blendFunc GL_DST_COLOR GL_ZERO
  166. //        blendFund GL_ONE GL_ONE
  167. //        depthFunc equal
  168.         rgbGen identity
  169.     }
  170. }
  171. //chris fulcrum room floor shader
  172. textures/floor/fulcrum_flr1_2
  173. {
  174.     qer_editorimage textures/floor/fulcrum_flr1_2.tga
  175.  
  176.     {
  177.         map textures/floor/fulcrum_flr1_2.tga
  178.         depthWrite
  179.         rgbGen identity
  180.     }
  181.     {    
  182.         map $lightmap
  183.         rgbGen identity
  184.         blendFunc GL_DST_COLOR GL_ZERO
  185.     }
  186.     {
  187.         map textures/floor/fulcrum_flr1_3a.tga
  188.         blendfunc add
  189.         rgbGen wave sawtooth 0 0.9 1 0.2
  190.     }
  191.     {
  192.         animmap 12 textures/floor/fulcrum_flr1_3a.tga textures/floor/fulcrum_flr1_6.tga             
  193.         blendfunc add        
  194.         tcMod turb 0.000000 0.000000 0.000000 0.0000000
  195.         rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  196.         rgbGen wave sin .5 0.5 0 7
  197.     }
  198.     
  199. }
  200. //chris fulcrum room floor shader center peice
  201. textures/floor/fulcrum_flr6_1
  202. {
  203.     qer_editorimage textures/floor/fulcrum_flr6_1.tga
  204.  
  205.     {
  206.         map textures/floor/fulcrum_flr6_1.tga
  207.         depthWrite
  208.         rgbGen identity
  209.     }
  210.     {    
  211.         map $lightmap
  212.         rgbGen identity
  213.         blendFunc GL_DST_COLOR GL_ZERO
  214.     }
  215.     {
  216.         map textures/floor/fulcrum_flr1_3a.tga
  217.         blendfunc add
  218.         rgbGen wave sawtooth 0 0.9 1 0.2
  219.     }
  220.     {
  221.         animmap 12 textures/floor/fulcrum_flr1_3a.tga textures/floor/fulcrum_flr1_6.tga             
  222.         blendfunc add        
  223.         tcMod turb 0.000000 0.000000 0.000000 0.0000000
  224.         rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  225.         rgbGen wave sin .5 0.5 0 7
  226.     }
  227.     
  228. }
  229.  
  230. //grated floor for hedge2 level alpha
  231. textures/floor/grate01_1sh
  232. {
  233.     qer_editorimage textures/floor/grate01_1sh.tga
  234.     //surfaceparm nolightmap
  235.     surfaceparm trans
  236.     {
  237.         depthwrite
  238.         map textures/floor/grate01_1sh.tga
  239.         //blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  240.         alphafunc gt0
  241.     }
  242.     {    
  243.         map $lightmap
  244.         blendfunc filter
  245.         depthfunc equal
  246.         rgbGen identity
  247.     }
  248. }
  249. // Chris hatter floor 
  250. textures/floor/tile1_2
  251. {
  252.     //surfaceparm trans
  253.     qer_editorimage textures/floor/tile1_2.tga
  254.  
  255.     {
  256.         map textures/floor/tile1_3.tga
  257.         depthwrite        
  258.         //rgbGen wave triangle 0 0.9 .75 0.5
  259.         //rgbGen wave sawtooth 0.0 0.9 0.0 0.2
  260.         //rgbGen wave sin .5 0.2 0 .1
  261.         tcmod turb 0 1 0 1
  262.     }
  263.     {
  264.         map textures/floor/tile1_2.tga
  265.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  266.     }
  267.     {    
  268.         map $lightmap
  269.         rgbGen identity
  270.         blendFunc GL_DST_COLOR GL_ZERO
  271.         
  272.     }
  273. }